package com.flash.SystemManagement.entity;

public class User {
    //用户id
    private int userId;
    //用户名称
    private String userName;
    //用户密码
    private String userPas;
    //角色id
    private int userRoleId;
    //是否在用
    private int userFlag;

    public User() {
    }

    public User(int userId, String userName, String userPas, int userRoleId, int userFlag) {
        this.userId = userId;
        this.userName = userName;
        this.userPas = userPas;
        this.userRoleId = userRoleId;
        this.userFlag = userFlag;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPas='" + userPas + '\'' +
                ", userRoleId=" + userRoleId +
                ", userFlag=" + userFlag +
                '}';
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPas() {
        return userPas;
    }

    public void setUserPas(String userPas) {
        this.userPas = userPas;
    }

    public int getUserRoleId() {
        return userRoleId;
    }

    public void setUserRoleId(int userRoleId) {
        this.userRoleId = userRoleId;
    }

    public int getUserFlag() {
        return userFlag;
    }

    public void setUserFlag(int userFlag) {
        this.userFlag = userFlag;
    }
}
